package com.demo.mqtt.daoimpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.support.JdbcDaoSupport;

import javax.sql.DataSource;

/**
 * Created by zgscwjm on 2017/5/3.
 */
public class BaseDao extends JdbcDaoSupport{
        @Autowired
        public BaseDao(DataSource dataSource) {
            setDataSource(dataSource);
        }
}
